Class sjl.wrappers.FuncWriterString
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sjl.wrappers.FuncWriterString

java.lang.Object
   |
   +----sjl.wrappers.FuncWriterString

public class FuncWriterString
extends Object
implements Function2
FuncWriterString is a function object designed for writing objects type String onto a DataOutputStream. Objects of this class is used by the OutputStreamIterator.

Copyright © 1996 Finn Bock


Constructor Index

 o FuncWriterString()

Method Index

 o perform(Object, Object)
Convert the second argument to String and write it to the DataOutputStream specified by the first argument.

Constructors

 o FuncWriterString
  public FuncWriterString()

Methods

 o perform
  public Object perform(Object stream,
                        Object o)
Convert the second argument to String and write it to the DataOutputStream specified by the first argument. The writeChars(String) method is called to do the writing. The return value is ignored.
Parameters:
stream - The DataOutputStream.
o - The object that will be written.

All Packages  Class Hierarchy  This Package  Previous  Next  Index